
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <QIcon>
#include <QTimer>
#include <QMainWindow>
#include <QPushButton>
#include "StarAndMap.h"
#include <QLabel>
#include "ui_mainwindow.h"
#include <QPalette>
#include "debugwindow.h"


QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow

{
public:
    MainWindow(QWidget *parent = nullptr);
    QPushButton b;
    Map a;
    debugwindow sub;
    ~MainWindow();
    //QLabel label;
    void update();
    int t=0;
    void turn();
protected:
    void paintEvent(QPaintEvent *);
private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
